package com.mcf.xiaolinju.mapper;

import com.mcf.xiaolinju.entity.Collection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDateTime;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mcf
 * @since 2022-03-01
 */
public interface CollectionMapper extends BaseMapper<Collection> {

    int selectcount(int id, int userid);

    int insertmessage(int id, int userid, LocalDateTime ldt);

    void delmessage(int id, int userid);
}
